package com.tool4j.entity.params;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
public class WeixinEventParams implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 开发者ID
     */
    private String ToUserName;

    /**
     * 发送方账号
     */
    private String FromUserName;

    /**
     * 消息创建时间
     */
    private Long CreateTime;

    /**
     * 消息类型：event、text
     */
    private String MsgType;

    /**
     * 事件类型，subscribe(订阅)、unsubscribe(取消订阅)
     */
    private String Event;

    /**
     * 消息内容
     */
    private String Content;

}
